﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true"   CodeFile="SetCompanyTB.aspx.cs" Inherits="Bidder_SetCompanyTB" Title="无标题页" %>
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" Runat="Server">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px">
                <img src="../images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg">
                投标人设置</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
    </table>
    <table id="tabData" width="98%" border="1" align="center" cellpadding="2" cellspacing="1">
       <tr>
            <td align="right">
                选择项目：</td>
            <td colspan="2"> <asp:DropDownList ID="listProject"  Width="400px"  runat="server">
        </asp:DropDownList>
                 </td>
        
        </tr>
       
        <tr>
            <td align="right">
                &nbsp;通用名：</td>
            <td>
                <asp:TextBox ID="txtProductName" runat="server" InvertedComma="通用名" Width="247px"></asp:TextBox></td>
            <td>
                 <asp:Button ID="Button5" runat="server"  Text="" CssClass="button_Query"
                    OnClientClick="javascript:return CheckForm();"  />
                 <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
        <td colspan="3"><asp:GridView ID="GridView1" runat="server" Width="100%"  AutoGenerateColumns="False"
        CssClass='table_table' HeaderStyle-CssClass='table_title' 
         onrowcommand="GridView1_RowCommand">
        <Columns>       
         <asp:BoundField DataField="Goodsid" HeaderText="流水号" />     
             <asp:BoundField DataField="Productname" HeaderText="通用名" />
             <asp:BoundField DataField="Accountid_TB" HeaderText="投标人ID"  Visible="false"/>
             <asp:BoundField DataField="Medicinemodel" HeaderText="剂型" />
             <asp:BoundField DataField="Outlookc" HeaderText="规格" />
             <asp:BoundField DataField="Unit" HeaderText="单位" />
             <asp:BoundField DataField="xishu" HeaderText="转换系数" />
              <asp:BoundField DataField="usercode_TB" HeaderText="投标人帐户" />
             <asp:BoundField DataField="username_TB" HeaderText="投标人名称" />      
   
         <asp:TemplateField HeaderText="选择投标人"  >
                <ItemTemplate >             
             <a href='GoodsAdd_CompanySearch_dl2.aspx?Goodsid=<%#DataBinder.Eval(Container.DataItem, "Goodsid")%>&Accountid=<%#DataBinder.Eval(Container.DataItem, "Accountid_TB")%>' target="_blank" visible="true"><%#DataBinder.Eval(Container.DataItem, "status").Equals("已确认")?"":string.IsNullOrEmpty(DataBinder.Eval(Container.DataItem, "Accountid_TB").ToString())?"设置":"重新设置" %></a>
                </ItemTemplate>
            </asp:TemplateField>          
              <asp:BoundField DataField="status" HeaderText="状态" />   
               <asp:BoundField DataField="Accept_time" HeaderText="确认时间" />     
        </Columns>
        <RowStyle CssClass="table_td" />
        <SelectedRowStyle CssClass="table_td" />
        <FooterStyle CssClass="table_td" />
        <HeaderStyle CssClass="table_title" />      

        
    </asp:GridView></td>
          
        </tr>
    </table>

    <div align="right">
        <table border="0">
            <tr>
                <td style="height: 12px">
                    <input type="submit" name="butSelectAll" value="查看全部" class="button_bg6" style="width: 74px"
                        onclick="javascript:return CheckForm();" disabled="disabled" />
                </td>
                <td style="height: 12px">
                    <uc1:dbpageflip ID="DbPageFlip1" runat="server" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="GridView2" runat="server">
    </asp:GridView>
</asp:Content>

